command to add entity framework layer in existing database

105

command to add entity framework layer in existing database -

PM> Scaffold-DbContext "Server=.\SQLExpress;Database=SchoolDB;Trusted_Connection=True;" Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models

Comments

Submit
0 Comments